<template>
	<view>
		<view class="jk-list-cell-wrapper" :class="hasborder ? 'hasborder':''">
			<slot />
		</view>
	</view>
</template>

<script>
	export default {
		props: {
			//是否有外层border
			hasborder: {
				type: Boolean,
				default: true
			},
		}
	}
</script>
<style lang="scss" scoped>
	.hasborder {
		border-bottom: 2rpx solid #e4e7ed;
		border-top: 2rpx solid #e4e7ed;
	}
</style>
